﻿package mortal.game.view.signUp.lineOn.item
{
    import com.mui.controls.*;
    import flash.text.*;
    import mortal.common.*;
    import mortal.common.global.*;
    import mortal.game.view.common.*;

    public class LineOnTextRoll extends LineOnRollBase
    {

        public function LineOnTextRoll()
        {
            return;
        }// end function

        override protected function createDisposedChildrenImpl() : void
        {
            super.createDisposedChildrenImpl();
            this._cellHei = 20;
            this._speed = 3.5;
            this.setMask(0, 0, 148, 18);
            return;
        }// end function

        override protected function disposeImpl(param1:Boolean = true) : void
        {
            super.disposeImpl(param1);
            return;
        }// end function

        override protected function getTimeInterval() : int
        {
            return 2;
        }// end function

        public function setValue(param1:Object, param2:Boolean = false) : void
        {
            return;
        }// end function

        override public function getRenders(param1:Array) : void
        {
            var _loc_4:String = null;
            var _loc_5:GTextFiled = null;
            this.disposeRends();
            this._renderArr = [];
            var _loc_2:* = GlobalStyle.textFormatBai;
            _loc_2.align = TextFormatAlign.CENTER;
            var _loc_3:int = 0;
            while (_loc_3 < param1.length)
            {
                
                _loc_4 = param1[_loc_3];
                _loc_5 = UIFactory.gTextField("" + _loc_4, 0, 0, 158, 20);
                UIFactory.setObjAttri(_loc_5, 0, this._cellHei * _loc_3 * -1, -1, -1, this._container);
                this._renderArr.push(_loc_5);
                this._container.addChild(_loc_5);
                _loc_5.defaultTextFormat = _loc_2;
                _loc_5.setTextFormat(_loc_2);
                _loc_3++;
            }
            super.getRenders(param1);
            return;
        }// end function

    }
}
